package com.kara.woodAgent.agent.wood.playload;

import com.kara.woodAgent.agent.graph.communicate.ChannelPayload;
import lombok.Data;

@Data
public class InterruptPayload implements ChannelPayload {


    private String id;

    private String message;

    public static InterruptPayload of(String id, String message) {
        InterruptPayload payload = new InterruptPayload();
        payload.id = id;
        payload.message = message;
        return payload;
    }
}
